[Main]
Name=Summon Furre
Author=Darvon Mitsumura
D1=Credits: Code by Darvon Mitsumura
D2=
D3=Function:
D4=One furre with share is able to forcefully summon anyone within the dream to the square directly ahead of them.
D5=
D6=To Forcefully summon, type "!summon name"
D7=For Example: "!summon lothus" - Remember not to include the quotes!
D8=
D9=For a furre who has a space in between their name, use | accordingly. Example: Darvon|Mitsumura, or A|Random|Furre, etc..
V1='Summon code active' Variable
T1=Variable Name
V2=Summon Position Variable
T2=Variable Name
V3=Phoenixspeak Info Prefix (1)
T3=Phoespeak info Prefix
B3=Regs
V4=Phoenixspeak Info Prefix (2)
T4=Phoespeak info Prefix
B4=sum
V5=Silent Prefix
T5=Silent Prefix
B5=!

[Code]
*Code for ^5^summon <name>
*Written by Darvon Mitsumura
*Startup*
(0:0) When everything is starting up,
    (5:300) set variable %^1^ to the value 0.
    (5:300) set variable %^2^ to the value 0.

*Anti-Idle*
(0:32) When a furre says something with {^5^summon} in it,
 (1:11) and the triggering furre has got shared control (or is the dream owner),
  (3:1) everywhere on the whole map,
    (5:19) move any furre present 0 step(s) forward (in the direction they're facing) if there's nobody already there.

*Setup Summon Spot*
(0:32) When a furre says something with {^5^summon} in it,
 (1:11) and the triggering furre has got shared control (or is the dream owner),
 (1:621) and the PhoenixSpeak info {^3^=[PARAM1]} about this dream is not equal to 1,
    (5:200) emit message {[PARAM1] not present in dream!} to the triggering furre.

(0:32) When a furre says something with {^5^summon} in it,
 (1:11) and the triggering furre has got shared control (or is the dream owner),
 (1:620) and the PhoenixSpeak info {^3^=[PARAM1]} about this dream is equal to 1,
    (5:300) set variable %^1^ to the value 1.
    (5:350) set variable %^2^ to the X,Y position the triggering furre (moved from/is standing at).
    (5:200) emit message {Summoning [PARAM1].} to the triggering furre.
    (5:602) memorize that the PhoenixSpeak info {^4^=[PARAM1]} about this dream will now be 1.

(0:32) When a furre says something with {^5^summon} in it,
 (1:13) and the triggering furre is facing northeast (up and right),
 (1:11) and the triggering furre has got shared control (or is the dream owner),
    (5:352) move the position in variable %^2^ northeast (up and right) 1 step(s).

(0:32) When a furre says something with {^5^summon} in it,
 (1:14) and the triggering furre is facing southeast (down and right),
 (1:11) and the triggering furre has got shared control (or is the dream owner),
    (5:353) move the position in variable %^2^ southeast (down and right) 1 step(s).

(0:32) When a furre says something with {^5^summon} in it,
 (1:15) and the triggering furre is facing southwest (down and left),
 (1:11) and the triggering furre has got shared control (or is the dream owner),
    (5:354) move the position in variable %^2^ southwest (down and left) 1 step(s).

(0:32) When a furre says something with {^5^summon} in it,
 (1:16) and the triggering furre is facing northwest (up and left),
 (1:11) and the triggering furre has got shared control (or is the dream owner),
    (5:355) move the position in variable %^2^ northwest (up and left) 1 step(s).

*Targeted Furre*
(0:72) When a furre remains motionless (doesn't turn, sit, stand or move) for 1 seconds,
 (1:620) and the PhoenixSpeak info {^4^=[FURRE]} about this dream is equal to 1,
 (1:200) and variable %^1^ is equal to 1,
    (5:200) emit message {You have been summoned!} to the triggering furre.
  (3:1) everywhere on the whole map,
    (5:15) move the triggering furre to (%^2^), or to someplace nearby if it's occupied.
    (5:300) set variable %^1^ to the value 0.
    (5:632) forget the PhoenixSpeak info {^4^=[FURRE]} about this dream.

*Temp Registration*
(0:9) When a furre arrives in the dream,
    (5:602) memorize that the PhoenixSpeak info {^3^=[FURRE]} about this dream will now be 1.
(0:10) When a furre leaves the dream,
    (5:632) forget the PhoenixSpeak info {^3^=[FURRE]} about this dream.

